package com.jic.member.sms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "短信模板变量")
public class SmsVariable {

    @NotEmpty(message = "key")
    @ApiModelProperty(notes = "变量key")
    private String key;

    @NotEmpty(message = "value")
    @ApiModelProperty(notes = "变量值")
    private String value;
}
